﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Authentication.Model.ViewModel.Customer
{
    public class ResponseSMSViewModel : GenerateViewMode, IViewModel
    {
        [Display(Name = "Create Date.")]
        public DateTime CreateDate { get; set; }

        [Required(ErrorMessage = "Response Type is required.")]
        [Display(Name = "Response Type:")]
        public string RespType { get; set; }

        [Display(Name = "Message Bode Len:")]
        [StringLength(5, ErrorMessage = "Message Bode Len cannot be longer than 5 characters.")]
        public string MsgBodyLen { get; set; }

        [Display(Name = "Response Message 1:")]
        [StringLength(160, ErrorMessage = "Response Message 1 cannot be longer than 160 characters.")]
        public string RespMsg1 { get; set; }

        [Display(Name = "Response Message 2:")]
        [StringLength(160, ErrorMessage = "Response Message 2 cannot be longer than 160 characters.")]
        public string RespMsg2 { get; set; }

        [Display(Name = "Gabit Template:")]
        [StringLength(160, ErrorMessage = "Gabit Template cannot be longer than 160 characters.")]
        public string GabitTemplate { get; set; }

        [Display(Name = "Template:")]
        [StringLength(160, ErrorMessage = "Template cannot be longer than 160 characters.")]
        public string Template { get; set; }

        [Display(Name = "Purpose:")]
        [StringLength(20, ErrorMessage = "Purpose cannot be longer than 20 characters.")]
        public string Purpose { get; set; }
    }
}
